Package-level declarations
Types
Link copied to clipboard
interface IOcrPdfGenerator
Link copied to clipboard
interface IPdfGenerator
Link copied to clipboard
interface IPdfGeneratorFactory
Link copied to clipboard
Link copied to clipboard
Page direction.
Link copied to clipboard
data class PdfAttributes(var author: String = "Created with Scanbot SDK", var creator: String = "", var title: String = "", var subject: String = "", var keywords: String = "") : Parcelable
PDF attributes.
Link copied to clipboard
data class PdfConfiguration(var attributes: PdfAttributes = PdfAttributes( ), var pageSize: PageSize = PageSize.A4, var pageDirection: PageDirection = PageDirection.PORTRAIT, var pageFit: PageFit = PageFit.FIT_IN, var dpi: Int = 72, var jpegQuality: Int = 80, var resamplingMethod: ResamplingMethod = ResamplingMethod.NONE, var binarizationFilter: ParametricFilter? = null) : Parcelable
The parameters pageSize, pageFit, dpi and resamplingMethod interact in a complex way when adding bitmap images (JPEG, PNG, or raw) to the PDF. There are three cases to consider:
Link copied to clipboard
Link copied to clipboard
class PdfGeneratorFactory(context: Context, fileIOProcessor: FileIOProcessor, documentStoreStrategy: DocumentStoreStrategy, pageFileStorage: PageFileStorage, bitmapBinarizer: BitmapBinarizer, composerCache: ComposerCache, blobManager: BlobManager, simpleComposer: SimpleComposer, ocrSettings: OcrSettings, sapManager: SapManager) : IPdfGeneratorFactory
Link copied to clipboard
Resampling method.